import java.util.Scanner;
public class graphical {
    public static void main(String[] args) {
        double r,w,h;
        Scanner scn=new Scanner(System.in);
        r=scn.nextDouble();
        w=scn.nextDouble();
        h=scn.nextDouble();
        MyCircle c=new MyCircle("大圆",r);
        MyRectangle rec=new MyRectangle("长方形",w,h);
        c.draw();
        System.out.println("Area="+String.format("%.2f", c.getArea()));
        rec.draw();
        System.out.println("Area="+String.format("%.2f", rec.getArea()));
    }}
class MyCircle{
    double r;
    String word;
    public MyCircle(String word,double r){
        this.r=r;
        this.word=word;
    }
    void draw(){
        System.out.println("大圆:r="+r);
    }
    double getArea(){
        return r*r*3.1416;
    }
}
class MyRectangle{
    double w,h;
    String appearance;
    public MyRectangle(String appearance,double w,double h){
        this.appearance=appearance;
        this.w=w;
        this.h=h;
    }
    void draw(){
        System.out.println("长方形:w="+w+",h="+h);
    }
    double getArea(){
        return w*h;
    }
}